00001 // Emacs Mode Line: -*- Mode:c++;-*- 00002 // ------------------------------------------------------------- 00003 // file: matrix_storage_type.hpp 00004 // ------------------------------------------------------------- 00005 // ------------------------------------------------------------- 00006 // Battelle Memorial Institute 00007 // Pacific Northwest Laboratory 00008 // ------------------------------------------------------------- 00009 // ------------------------------------------------------------- 00010 // Created January 28, 2015 by William A. Perkins 00011 // Last Change: 2015-02-09 11:37:36 d3g096 00012 // ------------------------------------------------------------- 00013 00014 00015 #ifndef _matrix_storage_type_hpp_ 00016 #define _matrix_storage_type_hpp_ 00017 00018 namespace gridpack { 00019 namespace math { 00020 00021 /// The types of matrices that can be created 00022 /** 00023 * The gridpack::math library provides two storage schemes for 00024 * matrices. This is used by Matrix and MatrixImplementation 00025 * subclasses. 00026 * 00027 * The actual storage scheme and memory used is dependent upon the 00028 * underlying math library implementation. 00029 * 00030 */ 00031 enum MatrixStorageType { 00032 Dense, /**< dense matrix storage scheme */ 00033 Sparse /**< sparse matrix storage scheme */ 00034 }; 00035 00036 } // namespace math 00037 } // namespace gridpack 00038 00039 #endif